package org.jeecg.modules.demo.yanhao.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.demo.yanhao.entity.Evaluate;
import org.jeecg.modules.demo.yanhao.entity.YhBasic;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 验号基本信息
 * @Author: jeecg-boot
 * @Date:   2020-09-17
 * @Version: V1.0
 */
public interface IYhBasicService extends IService<YhBasic> {

	/**
	 * 添加一对多
	 * 
	 */
	public void saveMain(YhBasic yhBasic,List<Evaluate> evaluateList) ;
	
	/**
	 * 修改一对多
	 * 
	 */
	public void updateMain(YhBasic yhBasic,List<Evaluate> evaluateList);
	
	/**
	 * 删除一对多
	 */
	public void delMain (String id);
	
	/**
	 * 批量删除一对多
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);
	
}
